home *** CD-ROM | disk | FTP | other *** search
- Jonix manual
- 0.01/16.07.96/Chris Rutter
- =============================================================================
-
- 0. RISC OS version
-
- I have taken the command-line Jonix and added in a polling bit of code
- into the C source and put a window front end. All the command-line
- options are now specified in the Jonix window. Here follows the original
- Jonix manual.
-
- 1. Overview
-
- Jonix is a utility that will take input formatted for a certain width (ie.
- where linebreaks have been inserted at the end of every line) and join
- continuing lines together. It's main purpose is transcription of text
- files for use in DTP documents/LaTeX etc.
-
- 2. Syntax
-
- Jonix can be invoked like this:
-
- jonix <input file> <output file> <options>
-
- Briefly, it takes all lines ending with "." and assumes that they are
- paragraph ends. Any line with a string of identical non-alphanumeric
- characters over <rowlength> long is counted as a paragraph end. Any
- other line is assumed to be continuing if it is within <distance> of
- the <width> of the page. If a line starts with a lower case letter then
- the previous linebreak (if any) is removed.
-
- 3. Options
-
- --width,-w <width>
- Allows you to specify the width of the document -- useful in
- conjuction with distance. If not specified, a width of 80 is
- assumed.
-
- --distance,-d <distance>
- This specifies the minimum distance away from the right hand edge
- of the page a line must finish to qualify as being continuing.
- If not specified, a distance of 10 is assumed.
-
- --rowlength,-r <length>
- This specifies the minimum length of a string of identical non-
- alphanumeric characters that must occur to make that line into
- a paragraph end. If not specified, jonix defaults to 6.
-
- --newline,-n <newline character>
- This specifies the newline character used. If not specified, jonix
- will pick up the first newline character from the in file and
- treat that as the newline character. Jonix cannot cope with
- composite newline characters (ie. <LF><CR> or <CR><LF>).
-
- --remove,-v <0=false, non-0=true>
- This specifies whether to remove lines containing just non-alpha
- numeric characters (eg. a row of dashes <width> long).
-
- 4. Contact
-
- Snail-mail: Old Laceys,
- St John’s Street,
- Duxford,
- Cambridge,
- CB2 4RA,
- United Kingdom.
- E-mail: chris@colegium.demon.co.uk (preferred address)
- Arcade: ‘Chris Rutter’ (#745)
- Phone: +44 1 223 832474 (in UK: 01223-832474)
- Fax: +44 1 223 836723 (in UK: 01223-836723)
-